package cn.tedu.charging.order;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;


/**
 *  @EnableFeignClients 开启 feign 客户端
 *  注册服务   发现服务
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients    //这个注解的作用类似持久层框架@MapperScan().让接口实例化.
public class ChargingOrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(ChargingOrderApplication.class, args);
    }
}
